package com.mc.cloud.mall.cartOrder.feign;

import com.mc.cloud.mall.user.model.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpSession;

/**
 * @ClassName UserFeignClient
 * @Author MC
 * @Date 2021/5/24 0:39
 * @Version 1.0
 **/

@FeignClient(value = "cloud-user-service")
public interface UserFeignClient {
    
    @GetMapping("/getUser")
    @ResponseBody
    User getUser();
    
}
